<?php

require_once 'config.php';

print "<html>";
print "<head>";
print "<title></title>";
print "<script type=\"text/javascript\" src=\"js/sha.js\"></script>";
print "</head>";
print "<body>";

$path = "index.php";

if (SERVER != 'localhost')
    $path = HTTPS_PATH;

print "<form action=\"" . $path . "\" onsubmit=\"Sha1.EncodeChangePass()\" method=\"post\">";
print "User: <input type=\"text\" name=\"id\" id=\"userID\"/><br />";
print "Old Password: <input type=\"password\" name=\"oldPass\" id=\"oldPass\"/><br />";
print "New Password: <input type=\"password\"  name=\"newPass\" id=\"newPass\"/><br />";
print "<button>Change Password</button>";
print "<input type=\"hidden\" name=\"cmd\" value=\"changePass\"/><br />";
print "</form>";


print "</body>";
print "</html>";
?> 